package com.lisp.algorithm.c1e415;

public class SubArray {

    SubArray(int start, int end, int maxSum) {
        this.start = start;
        this.end = end;
        this.sum = maxSum;
    }
    
    int start;
    int end;
    int sum;
    
    @Override
    public String toString() {
        return "SubArray [start=" + start + ", end=" + end + ", sum=" + sum + "]";
    }
}
